//
//  QSTabTitleBtnViewProtocol.swift
//  TestSwift
//
//  Created by Song on 2020/1/2.
//  Copyright © 2020 Song. All rights reserved.
//

import UIKit

protocol QSTabTitleBtnViewProtocol {
    /// 设置代理
    func qs_setDelegate<T: QSTabTitleBtnViewDelegate>(_ delegate: T)
    
    /// 设置标题内容
    func qs_setTitle(_ title: String)
    
    /// 设置标题字体大小
    func qs_setTitleFont(_ font: UIFont)
    
    /// 设置标题字体颜色
    func qs_setTitleColor(_ color: UIColor)
    
    /// 选中
    func qs_isSelected(_ isSelected: Bool)
}

protocol QSTabTitleBtnViewDelegate: class {
    /// 点击标题
    func qs_clickTitleBtnView<K>(btnView: K)
}
